package com.wsleo.jblog.model.article;

import com.wsleo.jblog.model.BaseModel;

public class ArticleTagRelation extends BaseModel {

	private static final long serialVersionUID = 1L;

	private Article article;
	private Long articleId;
	private ArticleTag tag;
	private Long tagId;

	public Article getArticle() {
		return article;
	}

	public void setArticle(Article article) {
		this.article = article;
	}

	public Long getArticleId() {
		return articleId;
	}

	public void setArticleId(Long articleId) {
		this.articleId = articleId;
	}

	public ArticleTag getTag() {
		return tag;
	}

	public void setTag(ArticleTag tag) {
		this.tag = tag;
	}

	public Long getTagId() {
		return tagId;
	}

	public void setTagId(Long tagId) {
		this.tagId = tagId;
	}

	@Override
	public String toString() {
		return "ArticleTagRelation [article=" + article + ", tag=" + tag
				+ ", articleId=" + articleId + ", tagId=" + tagId
				+ ", createTime=" + getCreateTime() + ", lastUpdTime="
				+ getLastUpdTime() + ", lastUpdBy=" + getLastUpdBy() + ", id="
				+ getId() + "]";
	}
}
